﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TagPropagator.Interfaces
{
    public class FeatureExtractor : IFeatureExtracor
    {
        //TODO: implement
        public SerializableDictionary<string, Feature> ExtractFeatures(System.Drawing.Image image)
        {
            var features = new SerializableDictionary<string, Feature>();
            int rand = new Random().Next(10);
            for (int i = 0; i < rand; i++)
            {
                var f = new Feature();
                f.Type = Enums.FeatureType.DOUBLE;
                f.Data = new Random().NextDouble();
                features.Add("feature" + i, f);
            }
            return features;
        }
    }
}
